import Vue from 'vue'
import plugins from './plugins';
import directives from './directives'
import globalComponents from './globalComponents'
import api from './api'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false;
Vue.config.devtools=true;
Vue.prototype.$baseUrl = process.env.NODE_ENV==="development"?"/api":"http://127.0.0.1:80";

Vue.use(plugins);
Vue.use(globalComponents);
Vue.use(directives);
Vue.use(api);

new Vue({
  render: h => h(App),
  router:router
}).$mount('#app');



